Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / Clear Method / Clear(UInt32,Nullable<Rectangle>) Method
The color to fill the image.
The target rectangle of the GcBitmap.

In This Topic
    Clear(UInt32,Nullable<Rectangle>) Method
    In This Topic
    Clears the GcBitmap with the specified color.
    Syntax
    'Declaration
     
    Public Overloads Sub Clear( _
       Optional ByVal color As System.UInteger, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle) _
    ) 
    public void Clear( 
       System.uint color,
       System.Nullable<Rectangle> clipRect
    )

    Parameters

    color
    The color to fill the image.
    clipRect
    The target rectangle of the GcBitmap.
    See Also